<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="node_modules/vue/dist/vue.min.js"></script>
</head>
<body>
    <div id='con'>
        <!-- v-for 遍历数据 -->
        <ul>
            <li v-for="(v,i) in arr">
                {{v}}
            </li>
        </ul>

        <hr>


        <table border="1">

            <tr v-for="(v,i) in obj">
                <td>{{v.name}}</td>
                <td>{{v.age}}</td>
            </tr>

        </table>
    </div>
    <script>
        new Vue({
            el:"#con",
            data:{
                arr:[11111,222222,333333,44444,55555,66666,777777],
                obj:[
                    {name:"xi1xi",age:181},
                    {name:"xi2xi",age:182},
                    {name:"xi3xi",age:183},
                    {name:"xi4xi",age:184},
                    {name:"xi5xi",age:185},
                    {name:"xi6xi",age:186},
                    {name:"xi7xi",age:187}
                ]
            },
            methods:{

            }
        })
    </script>
</body>
</html>